﻿<?xml version="1.0" encoding="utf-8"?>
<CmdletHelpPath ID="Command">
  <!-- Set-Item -->
  <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
    <command:details>
      <command:name>
            Set-Item
          </command:name>
      <maml:description>
        <maml:para>Updates an existing Visual Studio command.</maml:para>
      </maml:description>
      <maml:copyright>
        <maml:para></maml:para>
      </maml:copyright>
      <command:verb>Set</command:verb>
      <command:noun>Item</command:noun>
      <dev:version></dev:version>
    </command:details>
    <maml:description>
      <maml:para>At this path location, you can use the Set-Item cmdlet to update the key bindings or associated script block of a command. </maml:para>
    </maml:description>
    <!-- Cmdlet syntax section-->
    <command:syntax>
      <command:syntaxItem>
        <maml:name>Set-Item</maml:name>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="named">
          <maml:name>Path</maml:name>
          <maml:description>
            <maml:para>The path to the commands node.</maml:para>
          </maml:description>
          <command:parameterValue required="true" variableLength="true">string[]</command:parameterValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
          <maml:name>Bindings</maml:name>
          <maml:description>
            <maml:para>The key bindings for the command.</maml:para>
          </maml:description>
          <command:parameterValue required="true" variableLength="true">string[]</command:parameterValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
          <maml:name>Value</maml:name>
          <maml:description>
            <maml:para>The PowerShell script block to associate with the command.</maml:para>
          </maml:description>
          <command:parameterValue required="true" variableLength="false">ScriptBlock</command:parameterValue>
        </command:parameter>
      </command:syntaxItem>
    </command:syntax>
    <!-- Cmdlet parameter section  -->
    <command:parameters>
      <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
        <maml:name>Bindings</maml:name>
        <maml:description>
          <maml:para>The key bindings for the command.  Specify a list of string that include CTRL, ALT, SHIFT, and standard key names.</maml:para>
        </maml:description>
        <command:parameterValue required="true" variableLength="true">string[]</command:parameterValue>
        <dev:type>
          <maml:name>string[]</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue></dev:defaultValue>
      </command:parameter>
      <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="named">
        <maml:name>Path</maml:name>
        <maml:description>
          <maml:para>The path to the commands node.</maml:para>
        </maml:description>
        <command:parameterValue required="true" variableLength="true">string[]</command:parameterValue>
        <dev:type>
          <maml:name>string[]</maml:name>
          <maml:uri />
        </dev:type>
      </command:parameter>
      <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
        <maml:name>Value</maml:name>
        <maml:description>
          <maml:para>The PowerShell script block to associate with the command.</maml:para>
        </maml:description>
        <command:parameterValue required="true" variableLength="false">ScriptBlock</command:parameterValue>
        <dev:type>
          <maml:name>ScriptBlock</maml:name>
          <maml:uri />
        </dev:type>
      </command:parameter>
    </command:parameters>
    <!-- Input - Output section-->
    <command:inputTypes>
      <command:inputType>
        <dev:type>
          <maml:name>ScriptBlock</maml:name>
          <maml:uri />
          <maml:description />
        </dev:type>
        <maml:description>
          <maml:para>
            <!-- description  -->
                You can pipe a script block value to the New-Item cmdlet at this location.
              </maml:para>
        </maml:description>
      </command:inputType>
    </command:inputTypes>
    <command:returnValues>
      <command:returnValue>
        <dev:type>
          <maml:name>object</maml:name>
          <maml:uri />
          <maml:description>The updated command.</maml:description>
        </dev:type>
        <maml:description>
          <maml:para>
            <!-- description  -->
                The Set-Item cmdlet updates the key bindings and script block for the command and returns the object for the command.
              </maml:para>
        </maml:description>
      </command:returnValue>
    </command:returnValues>
    <!-- Error section-->
    <command:terminatingErrors />
    <command:nonTerminatingErrors />
    <!-- Notes section  -->
    <maml:alertSet>
      <maml:title></maml:title>
      <maml:alert>
        <maml:para></maml:para>
      </maml:alert>
      <maml:alert>
        <maml:para></maml:para>
      </maml:alert>
    </maml:alertSet>
    <!-- Example section  -->
    <command:examples>
      <command:example>
        <maml:title>
              -------------------------- EXAMPLE 1 --------------------------
            </maml:title>
        <maml:introduction>
          <maml:para>DTE:\Commands&gt;</maml:para>
        </maml:introduction>
        <dev:code>
              Set-Item -name "NewGuidToClipboard" -binding "CTRL+ALT+U";
            </dev:code>
        <dev:remarks>
          <maml:para>
                This example updates the existing NewGuidToClipboard command with a new key binding.
              </maml:para>
          <maml:para></maml:para>
          <maml:para></maml:para>
          <maml:para></maml:para>
          <maml:para></maml:para>
        </dev:remarks>
        <command:commandLines>
          <command:commandLine>
            <command:commandText></command:commandText>
          </command:commandLine>
        </command:commandLines>
      </command:example>
    </command:examples>
    <!-- Link section  -->
    <maml:relatedLinks>
      <maml:navigationLink>
        <maml:linkText>about_Providers</maml:linkText>
        <maml:uri />
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText>Get-Item</maml:linkText>
        <maml:uri />
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText>New-Item</maml:linkText>
        <maml:uri />
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText>Remove-Item</maml:linkText>
        <maml:uri />
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText>Clear-Item</maml:linkText>
        <maml:uri />
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText>Invoke-Item</maml:linkText>
        <maml:uri />
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText>Rename-Item</maml:linkText>
        <maml:uri />
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText>Move-Item</maml:linkText>
        <maml:uri />
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText>Copy-Item</maml:linkText>
        <maml:uri />
      </maml:navigationLink>
    </maml:relatedLinks>
  </command:command>
</CmdletHelpPath>
